package br.usp.icmc.biomac.shared;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@SuppressWarnings("serial")
public class Poly implements ROI {
	private List<Coordinate> coord = new ArrayList<Coordinate>();
	private String label;
	private Date date;

	public Poly(){}
	
	public Poly (Coordinate cood1, Coordinate cood2){
	}	
	public Poly (String label, Coordinate cood1, Coordinate cood2){
		this.label = label;
	}
	public Poly (String label, List<Coordinate> coordinates){
		this.label = label;
		this.coord = coordinates;
	}
	public Coordinate getCood1(){
		return null;
	}
	public void setCood1(Coordinate cood){
	}
	public Coordinate getCood2(){
		return null;
	}
	public void setCood2(Coordinate cood){
	}

	@Override
	public void setCoordinates(List<Coordinate> coordinates) {
		this.coord = coordinates;
	}

	@Override
	public List<Coordinate> getCoordinates() {
		return coord;
	}

	@Override
	public void setLabel(String label) {
		this.label = label;
	}

	@Override
	public String getLabel() {
		return label;
	}

	@Override
	public void setDateTime(Date date) {
		this.date = date;
	}

	@Override
	public Date getDateTime() {
		return date;
	}

}
